package com.ruoyi.project.blog.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.project.blog.domain.BFriendLink;
import com.ruoyi.project.blog.domain.BNavigation;
import org.apache.ibatis.annotations.Mapper;

/**
 * 网站导航Mapper接口
 * 
 * @author ruoyi
 * @date 2023-10-10
 */
@Mapper
public interface BNavigationMapper  extends BaseMapper<BNavigation>
{
    /**
     * 查询网站导航
     * 
     * @param id 网站导航主键
     * @return 网站导航
     */
    public BNavigation selectBNavigationById(Long id);

    /**
     * 查询网站导航列表
     * 
     * @param bNavigation 网站导航
     * @return 网站导航集合
     */
    public List<BNavigation> selectBNavigationList(BNavigation bNavigation);

    /**
     * 新增网站导航
     * 
     * @param bNavigation 网站导航
     * @return 结果
     */
    public int insertBNavigation(BNavigation bNavigation);

    /**
     * 修改网站导航
     * 
     * @param bNavigation 网站导航
     * @return 结果
     */
    public int updateBNavigation(BNavigation bNavigation);

    /**
     * 删除网站导航
     * 
     * @param id 网站导航主键
     * @return 结果
     */
    public int deleteBNavigationById(Long id);

    /**
     * 批量删除网站导航
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBNavigationByIds(Long[] ids);
}
